package com.itedge.infrastructure.web.dto;

/**
 * Simple POJO to hold task availability response.
 * 
 * @author jhe
 *
 */
public class TaskAvailabilityResponse {
	
	private boolean available;
	
	private String message;

	/**
	 * Info if requested task is available for completing. 
	 * 
	 * @return true if task is available, false otherwise
	 */
	public boolean isAvailable() {
		return available;
	}

	/**
	 * 
	 * @param available
	 */
	public void setAvailable(boolean available) {
		this.available = available;
	}

	/**
	 * Additional message.
	 * 
	 * @return message with additional info
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * 
	 * @param message
	 */
	public void setMessage(String message) {
		this.message = message;
	}

}
